.class Lcom/estrongs/android/pop/app/FileSaveToActivity$d;
.super Ljava/lang/Object;
.source "FileSaveToActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/FileSaveToActivity;->e(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/estrongs/android/pop/app/FileSaveToActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/FileSaveToActivity;Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/FileSaveToActivity$d;->b:Lcom/estrongs/android/pop/app/FileSaveToActivity;

    iput-object p2, p0, Lcom/estrongs/android/pop/app/FileSaveToActivity$d;->a:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/FileSaveToActivity$d;->b:Lcom/estrongs/android/pop/app/FileSaveToActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/FileChooserActivity;->d:Lcom/estrongs/android/widget/c;

    iget-object v0, v0, Lcom/estrongs/android/widget/c;->u:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 2
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 3
    iget-object v2, p0, Lcom/estrongs/android/pop/app/FileSaveToActivity$d;->a:Ljava/lang/String;

    const-string v3, "filePath"

    invoke-virtual {v1, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "fileEncoding"

    .line 4
    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/FileSaveToActivity$d;->b:Lcom/estrongs/android/pop/app/FileSaveToActivity;

    const/4 v2, -0x1

    invoke-virtual {v0, v2, v1}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/FileSaveToActivity$d;->b:Lcom/estrongs/android/pop/app/FileSaveToActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/FileChooserActivity;->finish()V

    return-void
.end method
